package com.upload.bootstrap;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan(value = "com.upload.controller")
@EnableFeignClients(basePackages = "com.upload.service")
//@EnableZuulProxy
@EnableDiscoveryClient
@SpringBootApplication
public class FileUploadApplication {

    public static void main(String[] args){
        SpringApplication.run(FileUploadApplication.class,args);
    }

}
